package com.iemes.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.iemes.entity.RoleFormMap;
import com.iemes.mapper.base.BaseMapper;

public interface RoleMapper extends BaseMapper{
	public List<RoleFormMap> seletUserRole(RoleFormMap map);
	
	public void deleteById(RoleFormMap map);
	
	List<Map<String, Object>> getRoles(@Param("departid")String id);
	
	List<Map<String, Object>> getroleByDepart(@Param("departid")String depart);
}
